#include <iostream>
#include <math.h>
using namespace std;
  
double count() {
        double sum = 0;
        double sum_tmp = 0;
        for (int i = 0; i < 100; i++) {
            for (int j = 0; j < 300; j++) {
                sum_tmp += cos(pow(a, 2) + sqrt(b));
            }
            sum += sum_tmp;
            sum_tmp = 0;
        }
        return sum;
    }
int main() {

    cout << "Wynik: " << count() << endl;
    return 0;}
